home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <!--Render Email fields only-->
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="xml" omit-xml-declaration="yes" encoding="UTF-8" />
-
- <xsl:template match="/">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- </head>
-
- <body>
- <xsl:for-each select="OpenContacts/Contacts/Contact">
-
- <table border="0" width="100%" id="table2">
- <tr>
- <td width="80%">
- <font face="Times New Roman" size="3">
- <b>
- <xsl:value-of select="@Name"/>
- </b>
- </font>
- </td>
- </tr>
- </table>
-
- <xsl:for-each select="Sections/Section">
-
-
- <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0">
- <xsl:for-each select="Fields/Field">
- <xsl:choose>
-
- <xsl:when test="@Action='email'">
- <tr>
- <td width="15"></td>
- <td width="80" bgcolor="#C3D9FF">
- <b>
- <font face="Times New Roman" size="2">
- <xsl:value-of select="../../@Name"/>
- </font>
- </b>
- </td>
-
- <td bgcolor="#E0ECFF">
- <font size="3">
-
-
- <a href="mailto:{@Value}">
- <xsl:value-of select="@Value"/>
- </a>
-
- </font>
- </td>
- </tr>
- </xsl:when>
-
- </xsl:choose>
- </xsl:for-each>
-
- </table>
-
- </xsl:for-each>
-
- </xsl:for-each>
-
-
- </body>
- </html>
- </xsl:template>
-
- </xsl:stylesheet>